<? $page_title='采购需求明细表' ?>
<?include "FASHION/page_header.phtml"?>
<div id="printArea" class="horizontal">
<table class="ptop" border="0" cellpadding="4" cellspacing="0" width="100%">
         <thead>
            <tr class="nobg">
                <th><h2><?$print_com_name?></h2></th>
            </tr>
            <tr class="nobg">
                <th><h1><?$page_title?></h1></th>
            </tr>
        </thead>        
    </table>
<table border=0 class="list pcontent" width="100%">
    <thead>
    <tr class="nobg">
            <th>材料编号</th>
            <th>材料名称</th>
            <th>品牌</th>
            <th>规格</th>
            <th>单位</th>
            <th>结存数量</th>
            <th>最低库存</th>
            <th>数量</th>
            <th width="80">用途</th>
            <th>部门</th>
            <th>采购类型</th>
            <th>单号</th>
            <th>日期</th>
            <th>备注</th>
    </tr>
    </thead>
    <tbody>    
    <{foreach item=ware from=$list}>
            <tr>
                <td><{$ware.sno}></td>
                <td><{$ware.name}></td>
                <td><{$ware.brand}></td>
                <td style="width:80px"><{$ware.specific}></td>
                <td><{$ware.unit}></td>
                <td class="decimal"><{$ware.amount}></td>
                <td class="decimal"><{$ware._amount}></td>
                <td class="decimal"><{$ware.cordon}></td>
                <td class="text"  style="width:80px"><{$ware.remark_use}></td>
                <td><{$ware.dept_name}></td>
                <td><?= DemandHelper::type2text($ware.demand_type) ?></td>
                <td><?= DemandHelper::getSNO($ware.demand_id) ?></td>
                <td><{= date('Y-m-d',$ware.addtime) }></td>
                <td style="word-break:break-all;"><{$ware.remark}></td>
            </tr>
    <{/foreach}>
    </tbody>
</table>
</div>
<?include "FASHION/page_footer.phtml"?>